<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta charset="utf-8">
	<title>后台角色管理界面</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<link rel="stylesheet" href="../layui/css/layui.css" media="all">
	<link rel="stylesheet" href="../css/systemManagement.css" media="all">
	<style type="text/css">
	.layui-table-tool-self{
		display: none;
	}
	</style>
</head>
<body>
	<div class="role-con">
		<script type="text/html" id="toolbarDemo">
			<button type="button" class="layui-btn layui-bg-blue" id="addRole" lay-event="addRole" lay-filter="addRole">新增角色</button>
		</script>

		<table class="layui-hide" id="tabadminrole" lay-filter="tabadminrole"></table>

		<script type="text/html" id="barDemo">
			<a class="layui-btn layui-btn-xs layui-bg-blue" lay-event="edit">编辑</a>
		</script>
		
		<script type="text/html" id="powerbar">
			<input type="checkbox" name="{{d.id}}" value="{{d.id}}" title="启用" lay-filter="lockDemo" {{ d.status=="启用" ? 'checked' : '' }}>
		</script>

		<div id="add-roleLayer" class="add-roleLayer">
			<div class="roleLayer">
				<form class="layui-form" action="">
					<div class="layui-form-item">
						<label class="layui-form-label">角色名称:</label>
						<div class="layui-input-block">
							<input type="text" name="roleName" id="roleName"
								lay-verify="roleName" autocomplete="off" placeholder="请输入角色名称"
								class="layui-input">
						</div>
					</div>
					<div class="layui-form-item layui-form-text">
						<label class="layui-form-label">角色描述:</label>
						<div class="layui-input-block">
							<textarea placeholder="请输入角色描述" id="description"
								class="layui-textarea"></textarea>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>
	<script src="../layui/layui.js" charset="utf-8"></script>
	<script src="../js/jquery-3.3.1.js"></script>
	<script src="../js/systemManagement/backrole.js"></script>
</body>
</html>